{% extends 'master.html' %}    <!--用用父模板-->
{% block title %} Beam个人博客 {% endblock %}

{% block classname %}
  {% for row in classification %}
   <li id="{{row.id}}"><a href=/article-{{ row.id }}>{{ row }}</a></li>
  {% endfor %}
{% endblock %}

{% block tags %}
  {% for row in articletags %}
    <span class="label badge-info">{{ row }}</span>
  {% endfor %}
{% endblock %}

{% block concent %}
  {% for row in article %}
    <h1>{{ row.article_name }}</h1>
    <span>作者：{{ row.author }} </span>
    <span>分类：{{ row.classification_id.classname }} </span>
    <span>创建时间：{{ row.create_time }} </span>
    <h5>{{ row.content| safe }}</h5>
  {% endfor %}
  <!--{% for row in article %}-->
    <!--<h2>{{ row.article_name }}</h2>-->
		<!--<p>{{ row.content |safe }}</p>-->
		<!--<p><a class="btn" href="#">查看更多 »</a></p>-->
  <!--{% endfor %}-->

	<!--<div style="text-align:center">-->
		<!--﻿{% for page_number in article.paginator.page_range %}-->
			<!--{% ifequal page_number  article.number %}-->
				<!--{{ page_number }}-->
			<!--{% else %}-->
				<!--<a href="?page={{ page_number }}">{{ page_number }}</a>-->
			<!--{% endifequal %}-->
		<!--{% endfor %}-->
	<!--</div>-->
{% endblock %}

